﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Pyramid.Models
{
	/// <summary>
	/// 顾客资金
	/// </summary>
	public class CustomerCapital
	{
		/// <summary>
		/// 顾客ID
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.None)]
		public int CustomerId { get; set; }

		/// <summary>
		/// 余额
		/// </summary>
		public decimal Balance { get; set; }

		/// <summary>
		/// 充值总金额
		/// </summary>
		public decimal RechargeTotal { get; set; }

		/// <summary>
		/// 消费总金额
		/// </summary>
		public decimal ConsumeTotal { get; set; }
	}
}